package a4;

public class Credit extends Payment {
    private String number;
    private String type;
    private String expireDate;

    // Constructors, getters, and setters
    public Credit(double amount, String number, String type, String expireDate) {
        super(amount);
        this.number = number;
        this.type = type;
        this.expireDate = expireDate;
    }
}